.dialog-main {
    margin-top: -15px;
}

.block {
    flex-shrink: 0;
    margin-top: 16px;
    padding: 15px 24px 20px;
    background: #fff;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    overflow: hidden;

    .tips {
        margin-bottom: 15px;

        strong {
            margin-left: 25px;
            font-weight: normal;
            color: rgba(0, 0, 0, 0.85);
        }
    }
}

.block h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: rgba(0, 0, 0, 0.85);
}

.block-box {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;

    .block {
        margin-top: 0;
        width: 596px;
    }
}

.left-right {
    display: flex;

    label {
        margin-right: 15px;
        flex-shrink: 0;
    }
}

.noti {
    display: flex;
    justify-content: space-between;

    .left-right {
        width: 550px;

        .number-box {
            display: flex;
            flex-wrap: wrap;
            margin-top: -3px;

            span {
                margin: 0 15px 10px 0;
                width: 91px;
                height: 24px;
                line-height: 24px;
                padding: 0 7px;
                background: rgba(0, 0, 0, 0.04);
                color: rgba(0, 0, 0, 0.85);
                border-radius: 2px;
            }

            .edit-btn {
                width: 24px;
                height: 24px;
                text-align: center;
                line-height: 24px;

                &:hover {
                    background: rgba(0, 0, 0, 0.04);
                    border-radius: 2px;
                }

                svg {
                    width: 14px;
                    height: 14px;
                    color: #ccc;
                }

            }
        }

        &.email {
            .number-box {
                span {
                    width: 137px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                }
            }

        }
    }
}

.noti-item {
    margin-bottom: 25px;

    &:last-child {
        margin-bottom: 0;
    }

    .title {
        display: block;
        margin-bottom: 10px;
    }

    .edit-box {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        z-index: 1;
        width: 472px;
        min-height: 40px;
        border-radius: 2px;
        padding: 10px 10px 0;

        .fake-border {
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            z-index: -1;
            border: 1px solid rgba(0, 0, 0, 0.15);
        }

        input:focus + .fake-border {
            border-color: #047AFF;
            box-shadow: 0 0 2px #047AFF;
        }

        .added {
            position: absolute;
            right: 5px;
            bottom: 5px;
            font-size: 12px;
        }

        .input-new-tag {
            margin-bottom: 10px;
            width: 107px;
            height: 22px;
            padding: 0 10px;
            font-size: 12px;
            border: none;
        }

        .isc-tag {
            margin: 0 10px 10px 0;
            position: relative;
            width: 107px;
            height: 24px;
            line-height: 24px;
            background: rgba(0, 0, 0, 0.04);
            border-radius: 2px;
            color: rgba(0, 0, 0, 0.85);
            border: none;

            ::v-deep .isc-icon-close {
                position: absolute;
                top: 5px;
                right: 3px;
                color: #ccc;

                &:hover {
                    background: #ccc;
                    color: #fff;
                }
            }

            &.email-tag {
                width: 153px;
                padding-right: 17px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;

                .input-new-tag {
                    width: 153px;
                }
            }


        }

    }

}

.isc-message--error {
    background-color: rgba(254, 105, 74, .9) !important;
}
